package com.aaa.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * Table: oms_cart_item
 */
@Data
public class OmsCartItem implements Serializable {
    /**
     * Table:     oms_cart_item
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * Table:     oms_cart_item
     * Column:    product_id
     * Nullable:  true
     */
    private Long productId;

    /**
     * Table:     oms_cart_item
     * Column:    product_sku_id
     * Nullable:  true
     */
    private Long productSkuId;

    /**
     * Table:     oms_cart_item
     * Column:    member_id
     * Nullable:  true
     */
    private Long memberId;

    /**
     * 店铺ID
     *
     * Table:     oms_cart_item
     * Column:    shop_id
     * Nullable:  true
     */
    private Long shopId;

    /**
     * 购买数量
     *
     * Table:     oms_cart_item
     * Column:    quantity
     * Nullable:  true
     */
    private Integer quantity;

    /**
     * 添加到购物车的价格
     *
     * Table:     oms_cart_item
     * Column:    price
     * Nullable:  true
     */
    private BigDecimal price;

    /**
     * 销售属性1
     *
     * Table:     oms_cart_item
     * Column:    sp1
     * Nullable:  true
     */
    private String sp1;

    /**
     * 销售属性2
     *
     * Table:     oms_cart_item
     * Column:    sp2
     * Nullable:  true
     */
    private String sp2;

    /**
     * 销售属性3
     *
     * Table:     oms_cart_item
     * Column:    sp3
     * Nullable:  true
     */
    private String sp3;

    /**
     * 商品主图
     *
     * Table:     oms_cart_item
     * Column:    product_pic
     * Nullable:  true
     */
    private String productPic;

    /**
     * 商品名称
     *
     * Table:     oms_cart_item
     * Column:    product_name
     * Nullable:  true
     */
    private String productName;

    /**
     * 商品副标题（卖点）
     *
     * Table:     oms_cart_item
     * Column:    product_sub_title
     * Nullable:  true
     */
    private String productSubTitle;

    /**
     * 商品sku条码
     *
     * Table:     oms_cart_item
     * Column:    product_sku_code
     * Nullable:  true
     */
    private String productSkuCode;

    /**
     * 会员昵称
     *
     * Table:     oms_cart_item
     * Column:    member_nickname
     * Nullable:  true
     */
    private String memberNickname;

    /**
     * 创建时间
     *
     * Table:     oms_cart_item
     * Column:    create_date
     * Nullable:  true
     */
    private Date createDate;

    /**
     * 修改时间
     *
     * Table:     oms_cart_item
     * Column:    modify_date
     * Nullable:  true
     */
    private Date modifyDate;

    /**
     * 是否删除
     *
     * Table:     oms_cart_item
     * Column:    delete_status
     * Nullable:  true
     */
    private Integer deleteStatus;

    /**
     * 商品分类
     *
     * Table:     oms_cart_item
     * Column:    product_category_id
     * Nullable:  true
     */
    private Long productCategoryId;

    /**
     * Table:     oms_cart_item
     * Column:    product_brand
     * Nullable:  true
     */
    private String productBrand;

    /**
     * Table:     oms_cart_item
     * Column:    product_sn
     * Nullable:  true
     */
    private String productSn;

    /**
     * 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]
     *
     * Table:     oms_cart_item
     * Column:    product_attr
     * Nullable:  true
     */
    private String productAttr;

    /**
     * 购物的状态： 0 ：外卖  1：订餐  2:拼团  3：预定
     *
     * Table:     oms_cart_item
     * Column:    shopping_way
     * Nullable:  true
     */
    private Integer shoppingWay;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table oms_cart_item
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}